// __PUBLIC__/js/page/cms/group/addgroup
require(['../../common'], function() {
  require(['group.addgroup'])
})

define('group.addgroup', [
  'jquery',
  'jqp/validate'
], function($) {
  'use strict';

  var $form = $('#J_form')

  $form.validate({
    classPlace: '.kv',
    errorPlace: '.kv-error',
    errors: {
      'name': {
        required: '分组名不能为空'
      }
    }
  })

})
